home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960425-19960715 / 000339_news@columbia.edu _Mon Jul 1 10:25:11 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id KAA00163 for <kermit.misc@watsun.cc.columbia.edu>; Mon, 1 Jul 1996 10:25:11 -0400 (EDT)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.5/8.7.3) id KAA03388 for kermit.misc@watsun; Mon, 1 Jul 1996 10:25:10 -0400 (EDT)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: Local Printing using MS-DOS Kermit
  8. Date: 1 Jul 1996 14:25:08 GMT
  9. Organization: Columbia University
  10. Lines: 61
  11. Message-ID: <4r8n44$39p@apakabar.cc.columbia.edu>
  12. References: <836224302.23211.0@specialist.co.uk>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <836224302.23211.0@specialist.co.uk>,
  16. Mark Scott <mark.scott@specialist.co.uk> wrote:
  17. : We have a problem using local printing in MS-DOS kermit.
  18. : We are using standard Vt100 printer escape sequence to direct output
  19. : from PC screen directly to printer port. On which is attached a small
  20. : slip printer. It has DTR connected. The Pc is communicating with a
  21. : UNIX host machine. The objective is to print a file from the host
  22. : machine onto the local printer.
  23. What is a "slip printer"?  You say "printer port" but then you say "DTR".
  24. The printer port is a parallel port.  Parallel ports don't have DTR.
  25.  
  26. : The problem : For large files sent,  the printed output contains
  27. : corrupted information. (using the PC at the DOS prompt  -   copy <text
  28. : file> >com1  it seems to print the same amount of text to the printer
  29. : ok without corruption. However using the Print command does lead to
  30. : corruption)
  31. It sounds like your printer is attached to a serial port.  Quoting from the
  32. KERMIT.BWR file from your MS-DOS Kermit diskette:
  33.  
  34. "Serial printers are not well supported by DOS, and since Kermit does all its
  35. printing through DOS, Kermit's printing features might not work well with
  36. serial printers.  To use a serial printer effectively, you must have a driver
  37. for it that takes care of flow control, such as UTILS\XONXOFF.COM."
  38.  
  39. Here is UTILS\XONXOFF.HLP:
  40.  
  41. FILE XONXOFF.HLP          SERIAL PRINTER DRIVER                 September 1991
  42.  
  43. XONXOFF.COM is a tiny public domain serial printer driver for MS-DOS computers,
  44. written by Frank Whaley in 1989 and found by Joe Doupnik in the mirror/printer
  45. directory on wuarchive.wustl.edu.
  46.  
  47. MS-DOS allows you to define a COM port as a printer device using the MODE
  48. command, for use with a serial printer, for example:
  49.  
  50.   MODE COM1:9600,N,8,1,P
  51.   MODE LPT1:=COM1
  52.  
  53. However, MS-DOS does not provide flow control between itself and a serial
  54. printer.  MS-DOS Kermit uses standard DOS calls for printer operations (print
  55. screen, transparent print, autoprint, etc).  A common complaint is that these
  56. print operations do not work well with serial printers -- characters are lost
  57. or garbled, etc.
  58.  
  59. XONXOFF.COM provides software (Xon/Xoff) flow control for serial printers.  It
  60. works only for COM1 only.  It installs itself as a terminate-and-stay-resident
  61. (TSR) program, intercepts DOS interrupt 17H, leaves the port baud rate and
  62. other parameters as found (so you must set them with the MODE command), and
  63. contains no provisions for de-installation.
  64.  
  65. Run it from your AUTOEXEC.BAT file after giving the necessary MODE commands,
  66. for example:
  67.  
  68.   MODE COM1:9600,N,8,1,P
  69.   MODE LPT1:=COM1
  70.   C:\KERMIT\UTILS\XONXOFF
  71.  
  72. (End of XONXOFF.HLP)